/**
 * 
 */
package com.jsync.model;

/**
 * @author prabz
 *
 */
public class Resource {
	private ResourceProfile profile;
	private String name;
	private boolean isDirectory;
	private String filters;
	private String newName;
	private Operation change;
	
	public enum Operation { ADD, MODIFY, DELETE, RENAME }
	
	/**
	 * @return the profile
	 */
	public ResourceProfile getProfile() {
		return profile;
	}
	/**
	 * @param profile the profile to set
	 */
	public void setProfile(ResourceProfile profile) {
		this.profile = profile;
	}
	/**
	 * @return the isDirectory
	 */
	public boolean isDirectory() {
		return isDirectory;
	}
	/**
	 * @param isDirectory the isDirectory to set
	 */
	public void setDirectory(boolean isDirectory) {
		this.isDirectory = isDirectory;
	}
	/**
	 * @return the filters
	 */
	public String getFilters() {
		return filters;
	}
	/**
	 * @param filters the filters to set
	 */
	public void setFilters(String filters) {
		this.filters = filters;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the newName
	 */
	public String getNewName() {
		return newName;
	}
	/**
	 * @param newName the newName to set
	 */
	public void setNewName(String newName) {
		this.newName = newName;
	}
	/**
	 * @return the change
	 */
	public Operation getChange() {
		return change;
	}
	/**
	 * @param change the change to set
	 */
	public void setChange(Operation change) {
		this.change = change;
	}
}
